﻿@model PNProject.Models.ChangePasswordModel

@{
    Layout = null;
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true, "Lỗi.")
    <div>

            <div class="editor-label userdetail_title" style="text-align:right;">
                @Html.LabelFor(m => m.OldPassword)
                @Html.PasswordFor(m => m.OldPassword)
                @*@Html.ValidationMessageFor(m => m.OldPassword)*@
            </div>


            <div class="editor-label userdetail_title" style="text-align:right;">
                @Html.LabelFor(m => m.NewPassword)
                @Html.PasswordFor(m => m.NewPassword)
                @*@Html.ValidationMessageFor(m => m.NewPassword)*@
            </div>

            <div class="editor-label userdetail_title" style="text-align:right;">
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)
                @*@Html.ValidationMessageFor(m => m.ConfirmPassword)*@
            </div>

            <div style="text-align:right;">
                <input type="submit" value="Thay đổi Password" />
            </div>

    </div>
}
